package com.kikikeji.weizhuo.widget;

import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.util.AttributeSet;
import android.widget.FrameLayout;

import com.kikikeji.weizhuo.Launcher;

/**
 * Created by zhang on 2016/12/3.
 */
public class CustomContentView extends FrameLayout implements Launcher.CustomContentCallbacks {

    public CustomContentView(Context context) {
        super(context);
    }

    public CustomContentView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public CustomContentView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @TargetApi(Build.VERSION_CODES.LOLLIPOP)
    public CustomContentView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
    }


    @Override
    public void onShow(boolean fromResume) {

    }

    @Override
    public void onHide() {

    }

    @Override
    public void onScrollProgressChanged(float progress) {

    }

    @Override
    public boolean isScrollingAllowed() {
        return false;
    }
}
